From db8a97c31e57f81d86262e81771b1833f3fed498 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Wolle) Ewald" Date: Sat, 25 Jul 2020 21:33:34 +0200 Subject: Update Alert_Window_Mode_with_Latch.ino --- .../Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino index bfac55f..a91921a 100644 --- a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino +++ b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino @@ -20,7 +20,7 @@ int ledPin = 10; volatile bool outOfLimit = false; ADS1115_WE adc(I2C_ADDRESS); -// ADS1115_WE adc = ADS1115_WE(); // Alternative: sets default address 0x48 +// ADS1115_WE adc = ADS1115_WE(); // Alternative: uses default address 0x48 void setup() { Wire.begin(); @@ -44,7 +44,7 @@ void setup() { * ADS1115_RANGE_0512 -> +/- 512 mV * ADS1115_RANGE_0256 -> +/- 256 mV */ - adc.setVoltageRange_mV(ADS1115_RANGE_6144); //comment line/change paramater to change range + adc.setVoltageRange_mV(ADS1115_RANGE_6144); //comment line/change parameter to change range /* Set the inputs to be compared * -- cgit v1.2.3